package com.aqie.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: aqie
 * @create: 2020-10-08 11:32
 **/
@RestController
@RequestMapping("hello")
@Slf4j
public class HelloController {
    @GetMapping("index")
    public String index(){
        log.info("hello demo log");
        return "hello demo";
    }
}
